/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bc.janelas;

/**
 *
 * @author Felipe
 */
public class Utils {
    public static String maxlength(String str, int value) {  
            String valor = "";  
            if(str.length() > value){  
            valor = str.substring(0,value);  
                str = valor;  
            }  
        return str;  
    }   
}
